package start.mapper;

import org.apache.ibatis.annotations.Mapper;
import start.model.Business;

import java.util.List;
import java.util.Map;

@Mapper
public interface BusinessMapper {
	public Business selectOne(int id);
	public List<Business> select(Map<String, Object> map);
	public List<Business> selectAll(List<Integer> status);
	public void insert(Business bean);
	public void update(Business bean);
	public void delete(Map<String, Integer> map);
	
}
